home *** CD-ROM | disk | FTP | other *** search
- // stdafx.h : include file for standard system include files,
- // or project specific include files that are used frequently, but
- // are changed infrequently
- //
-
- #if !defined(AFX_STDAFX_H__7714765B_7A75_4F14_9C77_0DFF62CC3505__INCLUDED_)
- #define AFX_STDAFX_H__7714765B_7A75_4F14_9C77_0DFF62CC3505__INCLUDED_
-
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
-
- #ifndef _WIN32_WINNT
- #define _WIN32_WINNT 0x0501
- #endif
-
- #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
-
- #include <afxwin.h> // MFC core and standard components
- #include <afxext.h> // MFC extensions
- #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
- #ifndef _AFX_NO_AFXCMN_SUPPORT
- #include <afxcmn.h> // MFC support for Windows Common Controls
- #endif // _AFX_NO_AFXCMN_SUPPORT
-
- #include <assert.h>
- #include <WindowsX.h>
- #include <d3d9.h>
- #include <d3dx9.h>
- #include <new.h>
- #include "DXUT.h"
- #include "DXUTmisc.h"
- #include "DXUTgui.h"
- #include "DXUTEnum.h"
- #include "DXUTSettingsDlg.h"
-
- #define SAFE_DELETE(p) { if(p) { delete (p); (p)=NULL; } }
- #define SAFE_DELETE_ARRAY(p) { if(p) { delete[] (p); (p)=NULL; } }
- #define SAFE_RELEASE(p) { if(p) { (p)->Release(); (p)=NULL; } }
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_STDAFX_H__7714765B_7A75_4F14_9C77_0DFF62CC3505__INCLUDED_)
-